﻿<%@ Page Language="C#" MasterPageFile="~/Globals/GenericMasterPage.master" AutoEventWireup="true" CodeFile="ABMTareas.aspx.cs" Inherits="Modules_FaenamientoEnvasado_ABMTareas" Title="Untitled Page" %>

<%@ Register Assembly="WebUtils" Namespace="WebUtils.Controls" TagPrefix="cc3" %>

<%@ Register Src="../../Controls/TecnoPezPopUp.ascx" TagName="TecnoPezPopUp" TagPrefix="uc3" %>

<%@ Register Src="../../Controls/TecnopezDataGRIDABMView.ascx" TagName="TecnopezDataGRIDABMView"
    TagPrefix="uc2" %>

<%@ Register Src="../../Controls/TecnoPezUpdateProgress.ascx" TagName="TecnoPezUpdateProgress"
    TagPrefix="uc1" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="Microsoft.Practices.EnterpriseLibrary.Validation.Integration.AspNet"
    Namespace="Microsoft.Practices.EnterpriseLibrary.Validation.Integration.AspNet"
    TagPrefix="cc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CPHPrincipal" Runat="Server">
    <asp:ScriptManager id="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel id="UpdatePanel1" runat="server" UpdateMode="Conditional">
        <contenttemplate>
<asp:MultiView id="mvABM" runat="server"><asp:View id="viewBusqueda" runat="server"><TABLE style="WIDTH: 100%" id="TableData" cellSpacing=0><TBODY><TR><TD class="cabeceraTabla" colSpan=3>Buscar Tareas</TD></TR><TR><TD class="columnaLabels"><asp:Label id="lblBuscarCodigo" runat="server" Text="Código" Width="200px"></asp:Label> </TD><TD class="columnaData"><asp:TextBox id="txtBuscarCodigo" runat="server" Width="200px"></asp:TextBox> </TD><TD vAlign=top rowSpan=2><asp:Button id="cmdBuscar" runat="server" Text="Buscar" Width="102px" BorderStyle="None" CssClass="Boton" Height="23px"></asp:Button> <asp:Button id="cmdNuevo" onclick="cmdNuevo_Click" runat="server" Text="Nueva" Width="102px" CssClass="Boton" Height="23px"></asp:Button> </TD></TR><TR><TD class="columnaLabels"><asp:Label id="Label6" runat="server" Text="Descripción" Width="200px"></asp:Label> </TD><TD class="columnaData"><asp:TextBox id="txtBuscarDescripcion" runat="server" Width="200px"></asp:TextBox> </TD></TR><TR><TD style="HEIGHT: 170px" colSpan=3><cc3:TecnoPezDataGrid id="grdTareas" runat="server" Width="100%" CssClass="Grilla" EmptyDataText="No hay datos." OnRowCommand="grdTareas_RowCommand">
<RowStyle CssClass="GrdRow"></RowStyle>

<PagerStyle ForeColor="White" CssClass="GrdPager"></PagerStyle>

<HeaderStyle ForeColor="White" CssClass="GrdHeader"></HeaderStyle>

<AlternatingRowStyle CssClass="GrdAlternatingRow"></AlternatingRowStyle>
</cc3:TecnoPezDataGrid> </TD></TR></TBODY></TABLE></asp:View> <asp:View id="viewDatos" runat="server"><TABLE cellSpacing=0 width="100%"><TBODY><TR><TD style="HEIGHT: 20px" class="cabeceraTabla" colSpan=4>Datos de la Tarea</TD></TR><TR><TD style="WIDTH: 200px; HEIGHT: 26px" class="columnaLabels"><asp:Label id="Label1" runat="server" Width="200px" Text="Código"></asp:Label> </TD><TD style="WIDTH: 205px; HEIGHT: 26px" class="columnaData"><asp:TextBox id="txtCodigo" runat="server" Width="200px"></asp:TextBox> </TD><TD style="WIDTH: 1px; HEIGHT: 26px" class="columnaData"></TD><TD style="WIDTH: 6px" vAlign=top rowSpan=2><asp:Button id="cmdEditar" onclick="cmdEditar_Click" runat="server" Width="102px" Height="23px" Text="Editar" CssClass="Boton" CausesValidation="False"></asp:Button> <asp:Button id="cmdEliminar" onclick="cmdEliminar_Click" runat="server" Width="102px" Height="23px" Text="Eliminar" CssClass="Boton" CausesValidation="False"></asp:Button> </TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels"><asp:Label id="Label3" runat="server" Width="200px" Text="Descripción"></asp:Label> </TD><TD style="WIDTH: 205px" class="columnaData"><asp:TextBox id="txtDescripcion" runat="server" Width="200px" MaxLength="30"></asp:TextBox><BR /><asp:RequiredFieldValidator id="rfvDescripcion" runat="server" CssClass="errorLabel" ControlToValidate="txtDescripcion" __designer:wfdid="w2" ValidationGroup="Cabecera" ErrorMessage="Campo Requerido"></asp:RequiredFieldValidator> </TD><TD style="WIDTH: 1px" class="columnaData"></TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels"><asp:Label id="lblFuncion" runat="server" Width="200px" Text="Duración (horas)"></asp:Label> </TD><TD style="WIDTH: 205px" class="columnaData"><asp:TextBox id="txtDuracion" runat="server" Width="200px"></asp:TextBox><BR /><asp:RequiredFieldValidator id="rfvDuracion" runat="server" CssClass="errorLabel" ControlToValidate="txtDuracion" __designer:wfdid="w3" ValidationGroup="Cabecera" ErrorMessage="Campo Requerido"></asp:RequiredFieldValidator> </TD><TD style="WIDTH: 1px" class="columnaData">&nbsp;</TD><TD style="WIDTH: 6px" vAlign=bottom rowSpan=2><asp:Button id="cmdAceptar" onclick="cmdAceptar_Click" runat="server" Width="102px" Height="23px" Text="Aceptar" CssClass="Boton" ValidationGroup="Cabecera"></asp:Button> <asp:Button id="cmdCancelar" onclick="cmdCancelar_Click" runat="server" Width="102px" Height="23px" Text="Cancelar" CssClass="Boton" CausesValidation="False" ValidationGroup="Cabecera"></asp:Button> </TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels" vAlign=top><asp:Label id="Label5" runat="server" Width="200px" Text="Observaciones"></asp:Label></TD><TD style="WIDTH: 205px" class="columnaData" vAlign=top><asp:TextBox id="txtObservaciones" runat="server" Width="200px" Rows="3" TextMode="MultiLine"></asp:TextBox>&nbsp;</TD><TD style="WIDTH: 1px" class="columnaData" vAlign=top></TD></TR><TR><TD style="HEIGHT: 25px" vAlign=top colSpan=2><asp:Label id="_lblError" runat="server" CssClass="errorLabel"></asp:Label>&nbsp;<BR /><cc2:PropertyProxyValidator id="PPVDescripcion" runat="server" RulesetName="" Display="Dynamic" SetFocusOnError="True" DisplayMode="List"></cc2:PropertyProxyValidator> </TD><TD style="WIDTH: 1px; HEIGHT: 25px" vAlign=top colSpan=1></TD><TD style="WIDTH: 6px; HEIGHT: 25px" vAlign=top></TD></TR><TR><TD vAlign=top colSpan=2></TD><TD vAlign=top colSpan=1></TD><TD vAlign=top></TD></TR><TR><TD class="cabeceraTabla" vAlign=top colSpan=4>Equipos</TD></TR><TR><TD class="columnaLabels" vAlign=top><asp:Label id="Label2" runat="server" Width="200px" Text="Equipos" __designer:wfdid="w2"></asp:Label></TD><TD class="columnaData" vAlign=top colSpan=1><uc3:TecnoPezPopUp id="TPPEquipo" runat="server" __designer:wfdid="w1" TecnoPezValidationGroup="detalle" TecnoPezActivateValidation="true"></uc3:TecnoPezPopUp></TD><TD class="columnaData" vAlign=top>&nbsp;</TD><TD vAlign=top></TD></TR><TR><TD class="columnaLabels" vAlign=top><asp:Label id="Label4" runat="server" Width="200px" Text="Cantidad" __designer:wfdid="w2"></asp:Label></TD><TD class="columnaData" vAlign=top colSpan=1><asp:TextBox id="txtCantidad" runat="server" Width="200px" __designer:wfdid="w4"></asp:TextBox><BR /><asp:RequiredFieldValidator id="rfvCantidad" runat="server" CssClass="errorLabel" ControlToValidate="txtCantidad" __designer:wfdid="w1" ValidationGroup="detalle" ErrorMessage="Campo Requerido"></asp:RequiredFieldValidator></TD><TD class="columnaData" vAlign=top></TD><TD vAlign=top><asp:Button id="cmdAgregarEquipo" onclick="cmdAgregarEquipo_Click" runat="server" Width="102px" Height="23px" Text="Agregar" CssClass="Boton" __designer:wfdid="w5" ValidationGroup="detalle"></asp:Button></TD></TR><TR><TD vAlign=top colSpan=4><asp:GridView id="grdEquipos" runat="server" Width="100%" CssClass="Grilla" OnRowCommand="grdEquipos_RowCommand" __designer:wfdid="w9">
<RowStyle CssClass="GrdRow"></RowStyle>

<PagerStyle CssClass="GrdPager"></PagerStyle>

<HeaderStyle CssClass="GrdHeader"></HeaderStyle>

<AlternatingRowStyle CssClass="GrdAlternatingRow"></AlternatingRowStyle>
</asp:GridView></TD></TR><TR><TD vAlign=top colSpan=4><cc2:PropertyProxyValidator id="PPVEquipo" runat="server" RulesetName="" Display="Dynamic" SetFocusOnError="True" DisplayMode="List" __designer:wfdid="w7" OnValueConvert="PPVEquipo_ValueConvert"></cc2:PropertyProxyValidator></TD></TR></TBODY></TABLE></asp:View></asp:MultiView> 
</contenttemplate>
    </asp:UpdatePanel>
    <uc1:TecnoPezUpdateProgress ID="TecnoPezUpdateProgress1" runat="server" />

</asp:Content>

